<template>
  <div class="baseC">
    C组件
  </div>
</template>

<script>
import Bus from '@/utils/EventBus'

export default {
  data() {
    return {

    }
  },
  created() {
    Bus.$on('sendMsg', (msg) => {
      console.log('baseC接收到消息:', msg)
    })
  }
}
</script>

<style>
.baseC {
  width: 500px;
  height: 100px;
  background-color: skyblue;
}
</style>
